home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Archives / Utilities / Text / Overwood 2.01 / Notes & Test next >
Text File  |  1988-01-23  |  16KB  |  320 lines

  1.      Overwood is a Macintosh search-and-replace utility intended for use
  2. in desktop publishing environments. It seeks out several things that are 
  3. typical of word-processed textfiles and converts them to a more widely 
  4. acceptable typographic format. A list of the ten operations performed by 
  5. Overwood, along with a few words about the limitations of each of them, 
  6. can be found at the end of these notes.
  7.  
  8.     This program is not a typesetting application. It does not produce files 
  9. suitable for being sent to a LaserWriter. Its output is not beautiful. Its 
  10. sole purpose is to make it easier for YOU to do the job of making a 
  11. word-processed document beautiful. The author hopes that it will help 
  12. you, and, if it does, he also hopes that you won't mind sending him $5.00 
  13. for it.
  14.  
  15.     ============================================================
  16.  
  17.     Version 2.0 of Overwood introduces a number of modifications and 
  18. the most obvious ones were prompted by my confusions about Switcher.
  19.  
  20.     For example, at the end of a run Overwood puts up two buttons and
  21. asks the user whether he wants to quit or go on to another file. When
  22. Overwood runs by itself, you MUST click on one or the other of these
  23. buttons. It didn't occur to me that you could use Switcher to jump into
  24. another program without clicking on either button, and the problem was
  25. that clicking on one of these two buttons was what closed the output
  26. file. So the user could switch to MS Word and try to open the file; Word
  27. would hit a -49 error ("File already open for writing") and put up a
  28. "Serious disk error" message. This has been fixed, and the file is now
  29. closed whether you push a button or not. (I do think, though, that Word
  30. might have said something like "Go back and close the file, dummy," 
  31. instead of just declaring "Serious disk error" and throwing in its cards.)
  32.  
  33.     For another example, if you switched away from Overwood leaving a 
  34. modal dialog open on the screen and then later switched back and tried to 
  35. dismiss the dialog, bombs would sometimes fall. I don't believe this 
  36. problem was confined to Overwood; I have successfully crashed six
  37. other programs including MacPaint and MacDraw that way--but ONLY
  38. with Switcher version 5.l. Switcher 5.0.l never seemed to complain about
  39. such behavior, and I don't know what was broken in 5.0.1 that needed to
  40. be fixed in 5.1. 
  41.  
  42.     So, not unnaturally, when I heard of the coming of MultiFinder, my 
  43. first thought was that I was in for a whole new batch of headaches and I 
  44. took the cowardly step of trying to make Overwood more self-reliant.
  45.  
  46.     • The main reason for recommending the use of this program with a
  47. word processor or paging program under Switcher was that you may not
  48. be able to tell which of Overwood's routines should be performed on a
  49. file until you see it. So now you can open Overwood's very own Peeper
  50. window and preview (but not edit) the first couple of pages of a
  51. file--just enough to determine whether CRs need stripping and, if so,
  52. what the typical paragraph format is. This is actually MUCH FASTER than
  53. using Switcher, especially if your WP is one that, like MacWrite, goes 
  54. through a long "conversion" song and dance before showing you a textfile.
  55.  
  56.     • You will no longer have to look at all of the default settings before 
  57. processing every file; you'll see them only when you want to see them.
  58. You can change them to your liking and leave them alone forever, but it's
  59. still easy to make temporary changes that will apply only to the next
  60. file processed.
  61.  
  62.     • Indents are handled a little better. The earlier version would remove 
  63. the original indents well enough, but it didn't seem to report on them very 
  64. accurately. Worse, if you instructed it to leave the indents alone, it
  65. would apparently ignore you. (It was actually trying to do its job, but the 
  66. routines that deal with carriage returns were interfering with it; they 
  67. now mind their own business.)
  68.  
  69.     • When substituting the em dash for the conventional doubled-hyphen, 
  70. the program now restricts its activities to sequences of exactly two 
  71. hyphens. (The previous version would substitute the dash for the last two 
  72. of any sequence of hyphens.)
  73.  
  74.     • The "smart quotes" routines now try to leave expressions like 6'4" 
  75. alone. 
  76.  
  77.     • Output files are named in a more rational manner.
  78.  
  79.     ===========================================================
  80.  
  81.     I think this version is more useful than its predecessor, but it's worth 
  82. emphasizing that the files it produces are no prettier. They will all need 
  83. extensive doctoring (though considerably less than their originals) either 
  84. in a word-processing program or in a paging program, before they can be 
  85. considered worthy of being read, let alone printed. To cushion the shock
  86. of looking at one of them for the first time, you should be prepared to
  87. set a provisional global paragraph indent, even if you don't propose to use 
  88. indents in your final job.
  89.  
  90.     To get started:
  91.  
  92.     1. Launch Overwood. You will see three menus in addition to the Apple 
  93. Menu.
  94.  
  95.     2. Take this opportunity to go to the Settings Menu and select the first 
  96. item, "Change Defaults..." This will bring up a box showing you
  97. the default settings for NINE of Overwood's ten operations. You can
  98. change them to your liking, either permanently or ad hoc.
  99.  
  100.     3. The second item in the menu, "Set Creator Signature...," allows you
  101. to assign Overwood's output files to a given editor or word processor so
  102. that double-clicking on the file's icon will launch the corresponding 
  103. application and open the file for editing. If you don't change this setting, 
  104. Overwood's files will look and behave like MacWrite text-only
  105. documents, but you'll be able to open them from within almost any
  106. editing program.
  107.  
  108.     4. Next, choose "Open..." from the File Menu. This will present the 
  109. standard file selection dialog box exhibiting only files of type TEXT. 
  110. Select one.
  111.  
  112.     5. When you've chosen a file to work on, you'll be asked what to do
  113. about the TENTH routine, the handling of carriage returns. Because
  114. paragraph formats vary so widely, Overwood can only do its best; it will
  115. try to remove MOST of the carriage returns that you don't want while
  116. leaving in MOST of the returns that you do want. But it's a judgment call;
  117. depending on the length of the file and on its complexity, you'll have to
  118. decide whether it will be more tedious to remove all the unwanted
  119. returns manually or to put some back in manually when Overwood messes
  120. up.
  121.  
  122.     6. If you haven't previewed the file, you may not know how to respond
  123. to the questions about returns. In that case, you can click on the Peep
  124. button. This will allow you to preview (but not to edit) the first few
  125. pages of a textfile, just enough to decide whether it will be worthwhile
  126. to ask Overwood to remove carriage returns. If you decide to let
  127. Overwood remove the returns, be sure to observe the MOST TYPICAL
  128. paragraph format; i.e., whether paragraphs are separated by blank lines
  129. or by indents.
  130.  
  131.     7. While inspecting the Peeper display, if you see anything that causes 
  132. you to think twice about any of your default settings, you can go to the 
  133. Settings Menu and make a "one time only" change. If you then pull down the 
  134. menu a second time, you'll notice that temporary changes are not
  135. reflected in the checkbox settings, but Overwood will remember them
  136. and execute them just once. (If you do look at the settings a second time,
  137. remember to click on "Cancel" instead of "OK." Clicking "OK" will wipe
  138. out your one-time change and substitute the currently displayed
  139. settings--i.e., the default settings--for your own selections.)
  140.  
  141.     8. When you dismiss the Peeper, you should then be able to respond to 
  142. the questions about paragraph formats. Click on "OK" to run the program.
  143.  
  144.     ============================================================= 
  145.  
  146.     WARNING: When the "Finito!" dialog appears, you may safely jump to 
  147. another program, because the output file has been closed. FOR THIS 
  148. REASON, YOU SHOULD RESIST ANY URGE TO REOPEN THE OUTPUT FILE AND 
  149. PEEP AT IT. You can see a far nicer display in a word processor than in 
  150. Overwood. Worst of all, YOU RUN THE RISK OF SWITCHING AWAY FROM AN 
  151. OPEN FILE, possibly giving rise to the problems mentioned above. Closing 
  152. the Peeper window DOES NOT close the file, because in the ordinary
  153. course of events the Peeper leads into the program rather than away
  154. from it; in order to close the file, you would have to: go to the File Menu
  155. and "Quit" from Overwood; or else close the Peeper window AND ALSO
  156. click "Cancel" on the dialog box that follows it.
  157.  
  158.     =============================================================
  159.  
  160.     9. Overwood's output file will have the same name as the original file, 
  161. plus an extension; the extension will be a serial number indicating the 
  162. order in which the output files were produced. For example, if you run 
  163. "ThisFile" through Overwood, then decide to change some of the default 
  164. settings and run it again, you will find three files on your disk: ThisFile, 
  165. ThisFile.1, and ThisFile.2. I can't think of any reason to run one of these 
  166. output files through Overwood a second time--but suppose you do so 
  167. inadvertently. The genealogy of the file will be obvious from its name: e.g., 
  168. ThisFile.2.1 will designate a file generated by reprocessing ThisFile.2.
  169.  
  170.     SCHEDULE OF ROUTINES
  171.  
  172.     • Insert Quotes and Insert Apostrophes--These operations do just 
  173. about what you'd expect, converting typewriter-style symbols into 
  174. apostrophes and opening and closing single and double quotes. They are 
  175. generally quite reliable, having trouble chiefly with words that begin
  176. with apostrophes ('Twas 'orrible, Mr. 'olmes!). They will also sometimes
  177. mishandle a closing quote mark that IMMEDIATELY follows a numeral,
  178. i.e., without any intervening punctuation. This one's fairly rare, and easy 
  179. to check: once you're in your word processor, search for the ditto mark; there won't be many of them left, and you can verify their occurrences.
  180.  
  181.     • Insert Em Dashes--Simply converts any sequence of precisely two 
  182. hyphens to the em dash.
  183.  
  184.     • Insert En Dashes--The en dash is most commonly used to connect 
  185. numbers, so this routine, though listed fourth, is actually run after the 
  186. following operation. The en dash will also normally be used for the minus 
  187. sign, and it will sometimes be used when a typist has tried to represent 
  188. the em dash by something other than the conventional doubled-hyphen.
  189.  
  190.     • Lowercase L to #1--Will find and correct most instances of the
  191. letter being used in place of the numeral. It will mishandle the letter <l> 
  192. used as the label for an item in a lettered list, and I think it also has 
  193. trouble with words like "llama," but I forget what it does to them. If 
  194. Overwood reports only one or two of these in a file of 50K or so, you 
  195. should consider them suspect and use your word processor to verify 
  196. occurrences of the numeral; but if it reports a dozen, the changes are most 
  197. likely good ones.
  198.  
  199.     • Use Available Ligatures--Attempts only to substitute the ligatured 
  200. forms of <fi> and <fl>. If they're missing from the LaserWriter font you 
  201. choose, no harm is usually done. If your word processor's default font is
  202. Geneva, for example, the ligatures will show up on screen as empty boxes; 
  203. but when you change to a PostScript font (other than Courier) the boxes 
  204. will be converted into either the ligatured form of the letter-pair or the
  205. combination of individual letters. This holds good for the resident fonts of
  206. the LaserWriter Plus; it may not be true of laser fonts from all suppliers.
  207.  
  208.     • Remove Hard Hyphens--Works fine with files in which manually 
  209. inserted hyphens are followed immediately by hard returns. Also works 
  210. well when the hard hyphens are followed by spaces (e.g., in order to 
  211. produce justified text with MacWrite)--BUT because these latter cases 
  212. are essentially no different from expressions like "a ten- (hyphen+space)
  213. or twelve-minute solo," Overwood will mangle such expressions, 
  214. producing instead "a tenor twelve-minute solo."
  215.  
  216.     • Remove Extra Spaces--Condenses every string of two or more
  217. spaces to a single space. Useful with files that have been
  218. pseudo-justified by the inclusion of extra spaces between words. It also
  219. performs an invaluable service to typography by reducing the two spaces
  220. that almost all typists put between sentences. 
  221.  
  222.     • Remove Indents--Lets you trash the original typist's indenting 
  223. scheme so that you can more easily set your own. NOTE: This routine 
  224. depends in part on the previous one; it expects to find only one space left 
  225. when it runs around removing indents. What it does, therefore, is remove
  226. either a tab character or ONE space from the beginning of paragraphs. Bit
  227. of room for future improvement here.
  228.  
  229.     • Strip carriage returns--As mentioned above, this just does its best.
  230. It will do a pretty good job with straight text. If the text includes much 
  231. tabular material, it's up to you to weigh the relative advantages of 
  232. invoking this operation; chewed-up tables may or may not be easily 
  233. repaired by inserting returns at strategic points. 
  234.  
  235.     Here's how to determine which of the carriage-return options to use:
  236. (1) With single-spaced files there's no problem. If most paragraphs are 
  237. separated by blank lines, choose "By blank lines"; If most paragraphs are 
  238. indented, choose "By indents." If most paragraphs are indented AND ALSO 
  239. separated by blank lines, choose either one. (2) With double-spaced files, 
  240. if the paragraphs are typically indented, choose "By indents." (3) If a 
  241. double-spaced file is NOT indented, e.g., if paragraphs are separated by 
  242. four or five blank lines, we're in trouble. Overwood can help you only if 
  243. you're willing to go into the file beforehand and insert indents at the 
  244. breaks. (A tab or a single space character will do the trick; then CLOSE 
  245. THE FILE before switching.) With a long file of straight prose, this 
  246. technique is definitely worth the trouble: you'll be manually inserting 
  247. three or four spaces per page in order to avoid deleting 20 to 25 returns 
  248. per page. With files of other descriptions . . . ?
  249.  
  250.     With a file largely composed of numbered paragraphs (numbers at the
  251. margin with ALL lines of text indented), your best bet is to hope that the
  252. paragraphs are separated by blank lines and, if so, choose that option.
  253. There are lots of ways to produce this effect: tabbing each line, using the
  254. space bar for each line, changing the ruler, hanging the first line, etc. If
  255. you choose "By blank lines," Overwood seems to handle most of these
  256. variations with the fewest mistakes (though with some of them you may
  257. have to reset a tab here and there). If you choose "By indents," then of 
  258. course NONE of the first lines will be handled correctly (because they all
  259. have numbers at the margin), but the body of the paragraph may be OK.
  260. It is, in short, a bummer.
  261.  
  262.     ======================================================
  263.  
  264.     If you've used these notes to test the program, you may have noticed 
  265. that Overwood reported changing two lowercase Ls to the numeral 1. 
  266. Depending on whether you're reading this before or after running
  267. Overwood on it, and depending on the font you're reading it in, they may
  268. or may not be easy to locate; the first two occurrences of the number
  269. were originally typed using the letter.
  270.  
  271.     Jim Donnelly 
  272.     College of Education 
  273.     University of Maryland 
  274.     College Park, MD 20742 
  275.     ©1988 J. B. Donnelly
  276.  
  277.     I've got to call this version 2.01, I guess, because it has the following 
  278. three changes from 2.0:
  279.  
  280.     1. You can open the Peeper window more than once without having to go 
  281. to the menu and reselect the file--just click on the Peep button.
  282.  
  283.     2. Because MultiFinder lets you see some of the inner workings of a
  284. program, and because files with names like "Scratch File" look ugly on
  285. the desktop, Overwood now uses the output file's correct name throughout.
  286.  
  287.     3. Finder 6.0 no longer tolerates icons that change into something else
  288. when selected; what appears on the screen instead is a mess. (This is a
  289. terrible shame, in my opinion. Such an icon was one of Red Ryder's chief
  290. glories, and I had a substitute icon for PageMaker files in which Oliver 
  291. Hardy turns into Stan Laurel; it actually looked pretty good with the older 
  292. Finders.) To avoid the mess, Overwood's typewriter icon now simply highlights when selected.
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.